﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Weazel.Badger.Vhdl.Types
{
  public class Unsigned : ArrayType
  {
    public Unsigned(int width) : base(Types.Unsigned, width, new StdLogic())
    {
    }

    public override string ToString()
    {
      return string.Format("unsigned({0} Downto 0)", Width - 1);
    }
  }
}
